﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TD.bom
{
    /// <summary>
    /// Représente la taille sur la carte
    /// </summary>
    public class MapObjectSize
    {
        public int Width, Height;

        /// <summary>
        /// Construit une taille nulle
        /// </summary>
        public MapObjectSize()
        {
            Width = Height = 0;
        }

        /// <summary>
        /// Construit une taille aux dimensios spécifiées
        /// </summary>
        public MapObjectSize(int p_width, int p_height)
        {
            Width = p_width;
            Height = p_height;
        }

        /// <summary>
        /// Construit par copie
        /// </summary>
        public MapObjectSize(MapObjectSize p_source)
        {
            Width = p_source.Width;
            Height = p_source.Height;
        }
    }
}
